﻿<%@ Page Language="C#" MasterPageFile="../MasterPage.master" AutoEventWireup="true" CodeFile="city_manager.aspx.cs" Inherits="admin_city_manager" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <p>
        <span class="big_title_grey">Add a new City Manager</span></p>
                            <table style="width: 347px">
                                <tr>
                                    <td style="height: 23px; width: 161px">
                                        City name</td>
                                    <td style="height: 23px">
                                        <asp:TextBox ID="TextBox1" runat="server" ValidationGroup="add_ciy"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                            ControlToValidate="TextBox1" ErrorMessage="?" ValidationGroup="add_ciy"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="width: 161px">
                                        City Manager User No</td>
                                    <td>
                                        <asp:TextBox ID="TextBox2" runat="server" ValidationGroup="add_ciy"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                                            ControlToValidate="TextBox2" ErrorMessage="?" ValidationGroup="add_ciy"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                            </table>
                            <p>
                                <asp:Button ID="Button1" runat="server" Text="OK" onclick="Button1_Click" 
                                    style="width: 33px" ValidationGroup="add_ciy" />&nbsp;<asp:Label 
                                    ID="Label1" runat="server" ForeColor="Red" Text="Label"></asp:Label>
    <hr />
                            <p>
                                <span class="big_title_grey">Delete a City Manager</span></p>
    <p>
                                City name you want to delete<asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
                                <asp:Button ID="Button2" runat="server" onclick="Button2_Click" Text="Button" />
    </p>
    <p>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            ShowHeader="False">
            <Columns>
                <asp:BoundField DataField="no" />
                <asp:HyperLinkField DataNavigateUrlFields="no" 
                    DataNavigateUrlFormatString="/city.aspx?no={0}" DataTextField="title" />
                <asp:HyperLinkField DataNavigateUrlFields="userno" 
                    DataNavigateUrlFormatString="/user_profile.aspx?no={0}" 
                    DataTextField="nickname" />
            </Columns>
        </asp:GridView>
</p>
<p>
</p>
<p>
</p>
</asp:Content>

